package cn.clwxy.gdz.service;

import cn.clwxy.gdz.bo.RegisterNewTeacher;
import cn.clwxy.gdz.util.BaseDao;

public class RegisterNewTeacherServiceImpl extends BaseDao implements RegisterNewTeacherService{

	@Override
	public int addRegisterNewTeacher(RegisterNewTeacher registerNewTeacher) {
		String sql="INSERT into teacher(teacherPwd,teacherPhone,teacherRegisterDate,teacherupdatedate)value(?,?,?,?)";
		return super.update(sql, registerNewTeacher.getTeacherPwd(),registerNewTeacher.getTeacherPhone(),registerNewTeacher.getTeacherRegisterDate(),registerNewTeacher.getTeacherupdatedate());
	}

}
